<?php
	
	/***强大的curl**
		$url = "http://wx.qq.com/cgi-bin/mmwebwx-bin/webwxgetmsgimg?MsgID=620000285";
		$curl = curl_init($url);
		$filename = date("Ymdhis").".jpg";
		curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);
		curl_setopt($curl,CURLOPT_COOKIE,'mm_lang=zh_CN; webwxuvid=4019074395; wxuin=2520056902; wxsid=37BxLHsJRgQ1lhOD; wxstaytime=1367487889; wxpluginkey=1367482944');
		$imageData = curl_exec($curl);
		curl_close($curl);
		$tp = @fopen($filename, 'a');
		fwrite($tp, $imageData);
		fclose($tp);
		exit;
	*/

	$getNum = $_GET['numtype'];

	$smarty->_assign(array('getNum'));
	$smarty->_display();
?>